]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
screenShield: Fix typo
authorJasper St. Pierre <jstpierre@mecheye.net>
Tue, 4 Sep 2012 00:51:53 +0000 (21:51 -0300)
committerJasper St. Pierre <jstpierre@mecheye.net>
Wed, 5 Sep 2012 17:28:57 +0000 (14:28 -0300)
We aren't French, no matter how much we may want to be.

https://bugzilla.gnome.org/show_bug.cgi?id=683305

js/ui/screenShield.js

index 9642ed94ad18c55e044403e8211995c8237b7781..2d6c2e65fc007619d020472db28546caa0dfd82b 100644 (file)
@@ -27,7 +27,7 @@ const LOCK_ENABLED_KEY = 'lock-enabled';
 const CURTAIN_SLIDE_TIME = 0.5;
 // fraction of screen height the arrow must reach before completing
 // the slide up automatically
-const ARROW_DRAG_TRESHOLD = 0.1;
+const ARROW_DRAG_THRESHOLD = 0.1;
 
 // Parameters for the arrow animation
 const N_ARROWS = 3;
@@ -496,7 +496,7 @@ const ScreenShield = new Lang.Class({
     },
 
     _onDragEnd: function(action, actor, eventX, eventY, modifiers) {
-        if (this._lockScreenGroup.y < -(ARROW_DRAG_TRESHOLD * global.stage.height)) {
+        if (this._lockScreenGroup.y < -(ARROW_DRAG_THRESHOLD * global.stage.height)) {
             // Complete motion automatically
             this._hideLockScreen(true);
         } else {